#pragma once
#include <osgEarthUtil/EarthManipulator>
#include <osgEarthAnnotation/LabelNode>
#include <osg/ref_ptr>
#include <osgEarth/TerrainEngineNode>
#include <osg/Node>
#include <osgEarth/ElevationQuery>
#include <osgEarth/Map>
#include <osgEarth/Cache>
#include <osgEarthSymbology/Geometry>
#include <osgViewer/Viewer>
#include <osgEarthAnnotation/LabelNode>

class pickearth:
	public osgEarth::Util::EarthManipulator
{
private:
	osg::ref_ptr<osgEarth::MapNode >  Mapnode;

public:

	pickearth(osgEarth::MapNode *mapnode);
	virtual bool handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& us);

protected:
	~pickearth(void);
private:
	bool  isSetEvent  ;
	bool isHandleClick ;
  


};
